import scripts.grassUtils.RecipeUtils;

#天使指环
val angelring = <extrautils2:angelring>.definition;
for i in 0 .. 6 {
	if (i != 5) {
        recipes.remove(angelring.makeStack(i));
		recipes.addShapeless(angelring.makeStack(i+1),[angelring.makeStack(i)]);
    } else {
	    recipes.remove(angelring.makeStack(i));
        recipes.addShapeless(angelring.makeStack(0),[angelring.makeStack(i)]);
    }
} 
RecipeUtils.recipeTweak(true, <extrautils2:angelring:0>, [
[<ore:blockSupremium>, <ore:blockLumium>, <ore:blockSupremium>], 
[<tconstruct:metal:6>, <xreliquary:rending_gale>, <tconstruct:metal:6>], 
[<solarflux:photovoltaic_cell_6>, <thermalfoundation:storage_alloy:7>, <solarflux:photovoltaic_cell_6>]]);

#史莱姆发电机
RecipeUtils.recipeTweak(true, <extrautils2:machine>.withTag({Type: "extrautils2:generator_slime"}),
[[<ore:slimeball>,<ore:slimeball>,<ore:slimeball>],
[<ore:slimeball>,<ore:blockSlimeCongealed>,<ore:slimeball>],
[<minecraft:redstone>,<extrautils2:machine>.withTag({Type: "extrautils2:generator"}),<minecraft:redstone>]]);

#传输管道
RecipeUtils.recipeTweak(true, <extrautils2:pipe> * 4,
[[<ore:slabStone>,<ore:slabStone>,<ore:slabStone>],
[<ore:blockGlass>,<minecraft:redstone>,<ore:blockGlass>],
[<ore:slabStone>,<ore:slabStone>,<ore:slabStone>]]);

#机器方块
recipes.removeByRecipeName("extrautils2:machine_base");
recipes.addShapedMirrored(<extrautils2:machine:0>, 
[[<extrautils2:decorativesolid:3>, <ore:ingotAluminum>, <extrautils2:decorativesolid:3>], 
[<ore:ingotAluminum>, <ore:gearCopper>, <ore:ingotAluminum>], 
[<extrautils2:decorativesolid:3>, <ore:ingotAluminum>, <extrautils2:decorativesolid:3>]]);

#漆黑之门


#世界球
mods.extrautils2.Resonator.add(<extrautils2:snowglobe:1>, <extrautils2:snowglobe>, 250000);
